export default {
  state:{
    routesVal:localStorage.getItem("setRoutes") || '/system',
    backRoutesVal:localStorage.getItem("setBackRoutes") || '1',
  },
  mutations:{
    getRoutes(state, data) {
      localStorage.setItem("setRoutes", data);
      state.routesVal = data;
    },
    getBackRoutes(state, data) {
      localStorage.setItem("setBackRoutes", data);
      state.backRoutesVal = data;
    },
  },
}